{include file=header.html}
<script type="text/javascript" language="javascript" src="{lib file=jquery-1.6.3.min.js}"></script>
<script language="javascript" type="text/javascript" src="{lib file=jquery.ui/jquery.ui.js}"></script>

<script language="javascript" type="text/javascript" src="{res file=js/jquery.funkyUI.js}"></script>

<script language="javascript" type="text/javascript" src="{lib file=jquery.plugins/jquery.validate.js}"></script>

<script language="javascript" type="text/javascript" src="{res file=js/common.js}"></script>
<body>
<div class="sub-body">
<div class="tab-frame" style="width:700px;">
<div class="tab-title-1">
<!--{if $smarty.get.act eq 'add'}--><span>{$lang.add_region}</span><!--{else}--><span>{$lang.edit_region}</span><!--{/if}-->
</div>
<form id="regionform" action="" method="post">
	<table width="100%" cellspacing="0" cellpadding="0" class="tab-display">
		<tr>
                <th align="right">
                    {$lang.region_name}:&nbsp;&nbsp;</th>
                <td align="left">
                    <input id="region_name" type="text" name="region_name" value="{$region.region_name|escape}" />                </td>
            </tr>
            <tr>
                <th align="right">
                    <label for="parent_id">{$lang.parent_id}:&nbsp;&nbsp;</label></th>
                <td align="left">
                    <select id="parent_id" name="parent_id"><option value="0">{$lang.select_pls}</option>{html_options options=$parents selected=$region.parent_id}</select>                </td>
            </tr>
            <tr>
                <th align="right">
                    {$lang.sort_order}:&nbsp;&nbsp;</th>
                <td align="left">
                    <input class="sort_order" id="sort_order" type="text" name="sort_order" value="{$region.sort_order}" />                </td>
            </tr>
        <tr>
            <th></th>
            <td align="left">
                <input class="btn-2" type="submit" name="Submit" value="{$lang.submit}" />&nbsp;&nbsp;
                <input class="btn-2" type="reset" name="reset" value="{$lang.reset}" /></td>
        </tr>
	</table>
</form>
</div>
</div>
</body>
</html>